package com.rmt.www.daoImpl;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.rmt.www.vo.Traceability;

public class TraceabilityRowMapper implements RowMapper {

	public Object mapRow(ResultSet rs, int ix) throws SQLException {
		if(rs==null)
			return null;
		Traceability t=new Traceability(rs.getInt("tid"), rs.getInt("artifactfromid"), rs.getInt("artifacttoid"));
		return t;
	}

}
